package demo08;

public class Test01 {
    public static void main(String[] args) {
        String[]arrA={"a","b","c","d","e"};
        String[]arrB=new String[arrA.length];
        int a =0;
        for (int i = arrA.length-1; i >=0 ; i--) {
            arrB[a]=arrA[i];
            a++;
        }
        for (int i = 0; i < arrB.length; i++) {
            System.out.print(arrB[i]+" ");
        }
    }
}
